package com.example.concurrency.thread01_template_method2;

/**
 * @description: 模板方法具体实现类2
 * @program: demos
 * @author: dove
 * @date: 2020-12-02 23:47
 **/

public class YourCook extends Cook {
    @Override
    void oil() {
        System.out.println("你记得放点油，不要过量！");
    }

    @Override
    void egg() {
        System.out.println("你也许只需要一个鸡蛋！");
    }

    @Override
    void tomato() {
        System.out.println("你就别放西红柿了！");
    }
}
